package com.yswy.common.enums;



import io.swagger.annotations.ApiModelProperty;

import java.util.Map;

public enum WxPayMethodEnums implements TypeEnum{
    APP_PAY_USED(1, "APP_PAY_USED"),//app支付
    H5_PAY_USED(2, "H5_PAY_USED"),//H5支付
    Withdrawal_USED(3, "Withdrawal_USED"),//提现
    Official_PAY_USED(4, "Official_PAY_USED"),//公众号
    Applet_PAY_USED(5, "Applet_PAY_USED");//提现使用支付宝(提现)

	WxPayMethodEnums(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private final int code;

    private final String message;

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
    
    public static Map<Integer,String> kv = EnumHelper.getCtx(values());

    public static final int APP_PAY_USED_CODE = 1;
    public static final int H5_PAY_USED_CODE = 2;
    public static final int Withdrawal_USED_CODE = 3;
    public static final int Official_PAY_USED_CODE = 4;
    public static final int Applet_PAY_USED_CODE = 5;
}
